/**
 Copyright (C) 2013 Yuyao Liang

 This source code is release under the BSD License.

 This program is distributed in the hope that it will be useful, but WITHOUT
 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 FOR A PARTICULAR PURPOSE.  See the license for more details.

 Created on Dec 4, 2013 11:40:32 AM
 */
package com.googlecode.backtest.rule;

import com.googlecode.backtest.dataset.provider.IDataProvider;

/**
 * @author lianyuy
 * 
 */
public interface ISourceAlgorithm<T, S> extends IBackTestAlgorithm<T, S> {

	IDataProvider<T> getDataProvider();

	void setDataProvider(IDataProvider<T> provider);

	boolean run();
}
